%filter_emg
% Filters the signal and generates a matrix with size n times the size of
% the input raw signal
function [data_multiple_f] = filter_multiple(data,Fs)

freqN = 6;
data_multiple_f = [];

[b a]=butter(3, [20 100]/(Fs/2), 'bandpass');
Sfiltered=filter(b,a,data');
data_multiple_f = [data_multiple_f Sfiltered];

[b a]=butter(3, [100 200]/(Fs/2), 'bandpass');
Sfiltered=filter(b,a,data');
data_multiple_f = [data_multiple_f Sfiltered];

[b a]=butter(3, [200 300]/(Fs/2), 'bandpass');
Sfiltered=filter(b,a,data');
data_multiple_f = [data_multiple_f Sfiltered];

[b a]=butter(3, [300 400]/(Fs/2), 'bandpass');
Sfiltered=filter(b,a,data');
data_multiple_f = [data_multiple_f Sfiltered];

% [b a]=butter(3, [400 500]/(Fs/2), 'bandpass');
% Sfiltered=filter(b,a,data');
% data_multiple_f = [ data_multiple_f Sfiltered];
% 
% [b a]=butter(3, [500 700]/(Fs/2), 'bandpass');
% Sfiltered=filter(b,a,data');
% data_multiple_f = [ data_multiple_f Sfiltered];